<?php
namespace app\common\validate;
use think\Validate; 
use think\Request;
class AppVersion extends Validate{
    protected $rule =   [
        'number'   => 'require', 
        'version'   => 'require', 
        'appurl'   => 'require', 
        'code'   => 'require', 
    ];

    protected $message  =   [
        'number.require'   => '内部版本号不能为空',
        'version.require'   => '版本号不能为空',
        'appurl.require'   => '下载地址不能为空',
        'code.require'   => '版本编号不能为空',
    ];
}